home *** CD-ROM | disk | FTP | other *** search
/ Whiteline: Alpha / Whiteline Alpha.iso / linux / atari / source / source.lzh / atari-linux-0.01pl3 / drivers / Makefile
Encoding:
Makefile  |  1994-06-05  |  822 b   |  44 lines

  1. #
  2. # Makefile for the linux kernel device drivers.
  3. #
  4. # Note! Dependencies are done automagically by 'make dep', which also
  5. # removes any old dependencies. DON'T put your own dependencies here
  6. # unless it's something special (ie not a .c file).
  7. #
  8. # Note 2! The CFLAGS definitions are now in the main makefile...
  9.  
  10. include ../MakeVars
  11. include ../.config
  12.  
  13. SUBDIRS = block char # net
  14.  
  15. ifdef CONFIG_MATH_EMULATION
  16. SUBDIRS := $(SUBDIRS) FPU-emu
  17. endif
  18.  
  19. ifdef CONFIG_SCSI
  20. SUBDIRS := $(SUBDIRS) scsi
  21. endif
  22.  
  23. ifdef CONFIG_SOUND
  24. SUBDIRS := $(SUBDIRS) sound
  25. endif
  26.  
  27. all: driversubdirs
  28.  
  29. driversubdirs: dummy
  30.     set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i; done
  31.  
  32. dep:
  33.     set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i dep; done
  34.  
  35. dummy:
  36.  
  37. #
  38. # include a dependency file if one exists
  39. #
  40. ifeq (.depend,$(wildcard .depend))
  41. include .depend
  42. endif
  43.  
  44.